package com.ruoyi.project.bus.compare.mapper;

import com.ruoyi.project.bus.compare.domain.BusCompare;
import java.util.List;

/**
 * compareMapper接口
 * 
 * @author ruoyi
 * @date 2020-11-28
 */
public interface BusCompareMapper 
{
    /**
     * 查询compare
     * 
     * @param id compareID
     * @return compare
     */
    public BusCompare selectBusCompareById(Long id);

    /**
     * 查询compare列表
     * 
     * @param busCompare compare
     * @return compare集合
     */
    public List<BusCompare> selectBusCompareList(BusCompare busCompare);

    /**
     * 新增compare
     * 
     * @param busCompare compare
     * @return 结果
     */
    public int insertBusCompare(BusCompare busCompare);

    /**
     * 修改compare
     * 
     * @param busCompare compare
     * @return 结果
     */
    public int updateBusCompare(BusCompare busCompare);

    /**
     * 删除compare
     * 
     * @param id compareID
     * @return 结果
     */
    public int deleteBusCompareById(Long id);

    /**
     * 批量删除compare
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusCompareByIds(String[] ids);
}
